home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0295.lzh / AMOSLIST / text0049.txt < prev    next >
Encoding:
Text File  |  1995-03-01  |  758 b   |  29 lines

  1. On Wed, 1 Feb 95 23:35:02 GMT Max Monahan wrote:
  2.  
  3. [snipped buttontest-routine]
  4.  
  5. > I tried out this routine last night and with some small
  6. > modifications it worked.
  7. > The logic was spot on, just some syntax and spelling problems.
  8.  
  9. > I think I had problems with the START_TIME variable name as it
  10. > clashed with a reserved word so I just used BEGIN_TIME.
  11. > Where Paul used "If START_TIME" I used "If BEGIN_TIME<>0".
  12. > Are these If's testing the same thing? (notwithstanding my change
  13. > of variable name)
  14.  
  15. No they're not. The former is testing boolean variables, the latter 
  16. numeric variables. Actually;
  17. If _START_TIME
  18. is the same as
  19. If _START_TIME = True
  20. is the same as
  21. If _START_TIME = -1
  22. (is the same as If Not _START_TIME = False {EVIL GRIN}).
  23.  
  24.  
  25.  
  26.